import { createApp } from 'vue'

import ElementPlus from 'element-plus'

import App from './App.vue'
import router from './router'
import stores from './stores'
import './permission.js'

import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const app = createApp(App)


Object.keys(ElementPlusIconsVue).forEach((key) => {
    app.component(key, ElementPlusIconsVue[key])
})
app.use(router)
app.use(stores)
app.use(ElementPlus)
app.mount('#app')